﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Authentificated.master" AutoEventWireup="true" CodeFile="SwitchSheduleData.aspx.cs" Inherits="UserManagement_SwitchSheduleData" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MCPH_Auth" Runat="Server">

<asp:ObjectDataSource ID="odsSpecialities" runat="server"
        TypeName="PM.BusinessLayer.SheduleController"
        DataObjectTypeName="PM.Entities.Speciality"
        SelectMethod="SelectSpecialities" />

<asp:ObjectDataSource ID="odsGroup" runat="server"
        TypeName="PM.BusinessLayer.SheduleController"
        DataObjectTypeName="PM.Entities.Group"
        SelectMethod="SelectGroups" />
        <div style="width:100%; text-align:center; margin-top:25px;">
            <span style="font-size:medium; font-weight:bold;">Виберіть параметри для формування розкладу</span><br /><br />
        </div>

    <table cellspacing="10" cellpadding="10" width="500px" style="margin-top: 5px; border: 1px solid #336699;" align="center">
        <tr style="font-weight:bold;">
            <td>Cпеціальність</td>
            <td>Курс</td>
            <td>Гpупа</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:DropDownList ID="ddlSpecialities" runat="server"
                    DataSourceID="odsSpecialities" Width="100px"
                    DataTextField="ShortName" 
                    DataValueField="SpecialityID" EnableTheming="false" /></td>
            <td>
                <asp:DropDownList ID="ddlCourse" runat="server" /></td>
            
            <td>
                <asp:DropDownList ID="ddlGroup" runat="server" DataSourceID="odsGroup" Width="50px"
                    DataTextField="GroupNumber" 
                    DataValueField="GroupID" /></td>
            
            <td>
                <asp:Button ID="btnFormShedule" runat="server" OnClick="btnFormShedule_Click" Text="Cформувати" /></td>
        </tr>
    </table>
</asp:Content>

